﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MaymuseMS.Models {
    public class ProduceOrder {
        public int ProduceOrderId { get; set; }
        //生产批号
        [MaxLength(100)]
        [Required]
        public string Number { get; set; }

        [MaxLength(100)]
        [Required]
        public string Name { get; set; }
        public DateTime Date { get; set; }
        //计划数量
        public double Count { get; set; }

        public double InDepositoryCount { get; set; }

        [MaxLength(1000)]
        public string Remark { get; set; }
        //public int ConfigurationId { get; set; }
        //public virtual Configuration Configuration { get; set; }

        public IList<OutDepository> OutDepositories { get; set; }
    }
}